/** 
 * 文 件 名:Weight.java
 * Copyright (C) 2007-2012:杭州希禾信息技术有限公司 版权所有 
 * 创 建 人:刘绍辉
 * 日    期:2012-3-12 下午12:09:00
 * 修 改 人: 
 * 日   期:
 * 修改描述:
 * 描   述:TODO
 */
package net.seehealth.healthpad.model.upload;

import net.seehealth.healthpad.application.base.BaseModel;
/**
 * @className Weight
 * @author 刘绍辉
 * @description 体重
 * @date 2012-3-14 下午14:09:00
 */
public class Weight extends BaseModel {
	/**
	 * 体重主键ID
	 */
	private Integer wid;
	/**
	 * 用户ID
	 */
	private Integer userID;
	/**
	 * 年龄
	 */
	private Integer age;
	/**
	 * 基础代谢
	 */
	private float bm;
	
	/**
	 * 内脏脂肪
	 */
	private float visceralfat;
	
	/**
	 * 体脂肪率
	 */
	private float bodyfatRate;
	
	/**
	 * 体年龄
	 */
	private int bodyage;
	
	
	/**
	 * bmi
	 */
	private float bmi;
	
	
	/**
	 * 骨骼筋率
	 */
	private float skeletalmuscleRate;
	
	/**
	 * 日期
	 */
	private String date;
	
	
	/**
	 * 体重
	 */
	private float weight;
	
	/**
	 * 所属年
	 */
	private Integer year;
	
	/**
	 * 所属月
	 */
	private String month;
	
	/**
	 * 所属周
	 */
	private Integer week;
	/**
	 * 数据来源 (0 蓝牙导入 1 手动输入)
	 */
	private Integer datafrom;
	/**
	 * empty constructor
	 */
	public Weight (){}
	/**
	 * full constructor
	 * @param wid
	 * @param userID
	 * @param age
	 * @param bm
	 * @param visceralfat
	 * @param bodyfatRate
	 * @param bodyage
	 * @param bmi
	 * @param skeletalmuscleRate
	 * @param date
	 * @param weight
	 * @param year
	 * @param month
	 * @param week
	 * @param datafrom
	 */
	public Weight(Integer wid, Integer userID, Integer age, float bm,
			float visceralfat, float bodyfatRate, int bodyage, float bmi,
			float skeletalmuscleRate, String date, float weight, Integer year,
			String month, Integer week, Integer datafrom) {
		super();
		this.wid = wid;
		this.userID = userID;
		this.age = age;
		this.bm = bm;
		this.visceralfat = visceralfat;
		this.bodyfatRate = bodyfatRate;
		this.bodyage = bodyage;
		this.bmi = bmi;
		this.skeletalmuscleRate = skeletalmuscleRate;
		this.date = date;
		this.weight = weight;
		this.year = year;
		this.month = month;
		this.week = week;
		this.datafrom = datafrom;
	}
	@Override
	public String toString() {
		return "Weight [wid=" + wid + ", userID=" + userID + ", age=" + age
				+ ", bm=" + bm + ", visceralfat=" + visceralfat
				+ ", bodyfatRate=" + bodyfatRate + ", bodyage=" + bodyage
				+ ", bmi=" + bmi + ", skeletalmuscleRate=" + skeletalmuscleRate
				+ ", date=" + date + ", weight=" + weight + ", year=" + year
				+ ", month=" + month + ", week=" + week + ", datafrom="
				+ datafrom + "]";
	}
	public Integer getWid() {
		return wid;
	}
	public void setWid(Integer wid) {
		this.wid = wid;
	}
	public Integer getUserID() {
		return userID;
	}
	public void setUserID(Integer userID) {
		this.userID = userID;
	}
	public Integer getAge() {
		return age;
	}
	public void setAge(Integer age) {
		this.age = age;
	}
	public float getBm() {
		return bm;
	}
	public void setBm(float bm) {
		this.bm = bm;
	}
	public float getVisceralfat() {
		return visceralfat;
	}
	public void setVisceralfat(float visceralfat) {
		this.visceralfat = visceralfat;
	}
	public float getBodyfatRate() {
		return bodyfatRate;
	}
	public void setBodyfatRate(float bodyfatRate) {
		this.bodyfatRate = bodyfatRate;
	}
	public int getBodyage() {
		return bodyage;
	}
	public void setBodyage(int bodyage) {
		this.bodyage = bodyage;
	}
	public float getBmi() {
		return bmi;
	}
	public void setBmi(float bmi) {
		this.bmi = bmi;
	}
	public float getSkeletalmuscleRate() {
		return skeletalmuscleRate;
	}
	public void setSkeletalmuscleRate(float skeletalmuscleRate) {
		this.skeletalmuscleRate = skeletalmuscleRate;
	}
	public String getDate() {
		return date;
	}
	public void setDate(String date) {
		this.date = date;
	}
	public float getWeight() {
		return weight;
	}
	public void setWeight(float weight) {
		this.weight = weight;
	}
	public Integer getYear() {
		return year;
	}
	public void setYear(Integer year) {
		this.year = year;
	}
	
	public String getMonth() {
		return month;
	}
	public void setMonth(String month) {
		this.month = month;
	}
	public Integer getWeek() {
		return week;
	}
	public void setWeek(Integer week) {
		this.week = week;
	}
	public Integer getDatafrom() {
		return datafrom;
	}
	public void setDatafrom(Integer datafrom) {
		this.datafrom = datafrom;
	}
	
}
